package interface_class;

/**
 * @author : niu niu
 * @version : 1.0.0
 * @date : 2022/9/22 21:09
 */
public class Dog extends Animal implements IRun, ISwim {
    @Override
    public void run() {
        System.out.println("狗狗可以跑");
    }

    @Override
    public void swim() {
        System.out.println("狗狗会游泳");
    }
}
